<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">
    <style>
        a {
            text-decoration: none;
        }

        header {
            height: 150px;
        }

        header a {
            color: #6c6c6c;
        }
    </style>
</head>

<body>
    <div id="app">
        <el-container>
            <el-header height="150px">
                <div style="width: 1200px;margin: 0 auto">
                    <img src="imgs/logo.png" style="width: 300px;vertical-align: middle" alt="">
                    <a href="">首页</a><el-divider direction="vertical"></el-divider>
                    <a href="">热点资讯</a><el-divider direction="vertical"></el-divider>
                    <a href="">商家入驻</a><el-divider direction="vertical"></el-divider>
                    <a href="">社会招聘</a><el-divider direction="vertical"></el-divider>
                    <a href="">校园招聘</a><el-divider direction="vertical"></el-divider>
                    <a href="">帮助</a>
                </div>
                <div style="background-color: #82c8ec;">
                    <el-menu style="width: 1200px; margin: 0 auto" :default-active="activeIndex" class="el-menu-demo"
                        mode="horizontal" @select="handleSelect" background-color="#82c8ec" text-color="#fff"
                        active-text-color="#ffd04b">
                        <el-menu-item index="1">精彩活动</el-menu-item>
                        <el-menu-item index="2">当季女装</el-menu-item>
                        <el-menu-item index="3">品牌男装</el-menu-item>
                        <el-menu-item index="4">环球美食</el-menu-item>
                        <el-menu-item index="5">医药健康</el-menu-item>
                        <el-menu-item index="6">美妆彩妆</el-menu-item>
                        <el-menu-item index="7">母婴产品</el-menu-item>
                        <div style="float: right;position: relative;top: 10px;">
                            <el-input v-model="wd" placeholder="请输入搜索内容">
                                <el-button slot="append" icon="el-icon-search" @click="search()"></el-button>
                            </el-input>
                        </div>
                    </el-menu>
                </div>
            </el-header>


            <el-main style="width: 1200px;margin: 0 auto">
                <el-row>
                    <el-col span="18">
                                <el-carousel height="300px">
                                    <el-carousel-item>
                                        <img src="imgs/b1.jpg" width="100%" height="100%" alt="">
                                    </el-carousel-item>
                                    <el-carousel-item>
                                        <img src="imgs/b2.jpg" width="100%" height="100%" alt="">
                                    </el-carousel-item>
                                    <el-carousel-item>
                                        <img src="imgs/b3.jpg" width="100%" height="100%" alt="">
                                    </el-carousel-item>
                                </el-carousel>
                            
                        </el-col>
                        <el-col :span="6">
                            <el-card>
                                <h3>
                                    <i style="font-weight:bolod" class="el-icon-trophy">
                                    销量最高
                                    </i>
                                </h3>
                                <el-divider>
                                    
                                </el-divider>
                            </el-card>
                        </el-col>
                    </el-col>
                </el-row>
            </el-main>
            <el-footer>Footer</el-footer>
        </el-container>

    </div>
</body>
<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
<script>
    let vm = new Vue({
        el: '#app',
        data: function () {
            return {
                activeIndex: '1',
                wd: ""
            }
        },
        methods: {
            handleSelect(index, indexPath) {
                vm.$message(index);
            },
            search() {
                vm.$message("搜索的内容是:" + vm.wd);
            }
        }
    })
</script>

</html>